<html>
  <script>
    chrome.browserAction.onClicked.addListener(function(tab) {
    	console.log(tab);
    	chrome.tabs.executeScript(null, {file: "js/hm.js"});
    });
  </script>
</html>